package router

import (
	"github.com/gin-gonic/gin"
	"server/api/v1"
)

func InitCasbinRouter(Router *gin.RouterGroup) {
	CasbinRouter := Router.Group("casbin")
	{
		CasbinRouter.PUT("updateCasbin/:role_id", v1.UpdateCasbin)
		CasbinRouter.GET("getPolicy/:role_id", v1.GetPolicyPathByRoleId)
	}
}
